const mongoose = require('./core');

let FocusSchema = mongoose.Schema({
  type: {type: Number},
  title: {type: String},
  focus_img: {type: String},
  link: {type: String},
  sort: {type: Number},
  status: {type: Number, default: 1},
  add_time: {type: Number}
});

module.exports = mongoose.model('Focus', FocusSchema, 'focus');